<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Family
 *
 * @author Bubbuls
 */
require_once 'Classes/Element.php';
class Family extends Element{
    private $name;
    
    public function __construct($arrayOrId="", $name="") {
	parent::__construct($arrayOrId);
        if(is_array($arrayOrId)){  
            $this->name = $arrayOrId['Name'];
            
        }
        else {
           
            $this->name = $name;
        }
    }
    
    
    public function getName() {
            return $this->name;
        }
    
    public function setName($name) {
            $this->name= $name;
        }
    
}

?>
